package com.cdp.web.controller.system;

import com.cdp.common.core.domain.AjaxResult;
import com.cdp.system.dto.SysOtherAdmixturesDTO;
import com.cdp.system.service.ISysOtherAdmixturesModelService;
import com.cdp.system.service.SysOtherAdmixturesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class SysOtherAdmixturesController {


    @Autowired
    private SysOtherAdmixturesService sysOtherAdmixturesService;


    /**
     * 其他表查询
     *
     * @param sysOtherAdmixturesDTO
     * @return
     */
    @PostMapping("ListOtherAdmixtures")
    private AjaxResult ListOtherAdmixtures(@RequestBody SysOtherAdmixturesDTO sysOtherAdmixturesDTO) {


        return sysOtherAdmixturesService.ListOtherAdmixtures(sysOtherAdmixturesDTO);
    }


}
